package com.gitee.wsl.struct.tree.ext

import com.gitee.wsl.struct.tree.MutableNodeElement

fun <T> MutableNodeElement<T>.moveTo(node: MutableNodeElement<T>){
    removeSelf()
    node.add(this)
}

